<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>基础案例</title>
  <script type="text/javascript" src="vue.js"></script>
  <style>
    div>div {
      width: 60px;
      height: 60px;
      border: 2px solid #bbb;
      text-align: center;
      line-height: 60px;
      font-size: 30px;
      margin:10px;
      float:left;
    }
    .selected{
      border-color: #000;
    }
    .active{
      background: #bbb;
    }
  </style>    
</head>
<body>
  <div id="app">
    <div>1</div>
    <div class="selected">2</div>
    <div class="active">3</div>
    <div class="selected active">4</div>
  </div>
</body>
</html>